package one.stand.mapper;

import one.stand.model.WxFormId;
import org.apache.ibatis.annotations.Param;

public interface WxFormIdMapperExt extends WxFormIdMapper {
    WxFormId selectByCompanyKey(@Param("userId") Integer userId, @Param("type") int type, @Param("companyKey") String companyKey);

    WxFormId select(@Param("userId") Integer userId, @Param("type") int type);

    int selectCount(@Param("userId") Integer userId, @Param("type") int type);

    int deleteByFormId(String formId);

    int delete(@Param("userId") Integer userId, @Param("type") int type);
}